A Bradford man has been jailed for 10 years after he was convicted of raping a teenage girl.