Ed Sheeran has credited fatherhood with prompting significant lifestyle changes and encouraging him to make better decisions.