A “despicable” GP who sexually assaulted a woman by grabbing her breasts and saying he was “checking for lumps” has been jailed.