A dangerous double-rapist has been jailed for 12 years after prowling the streets and launching attacks at night.