Two men behind a boiler room operation that stole more than £7.5m from vulnerable people using “nasty” sales tactics have been jailed.