A “dangerous” paedophile used suicide threats and emotional blackmail to try and persuade underage girls to send him sexual selfies, York Crown Court heard.