Three men charged with attempted sex with minors