Former Goodyear police officer sentenced for sex with minor