Bath and England hooker Lee Mears has been forced to retire after doctors discovered an abnormality with his heart.