The phenomenology of electric dipole moments in models of scalar leptoquarks