A man who drugged and sexually assaulted a teenage girl has been jailed for five years.