'Dangerous' man jailed for spying on young women having sex and walking around homes in underwear