High school teacher offers students better grades in exchange for penis photos: Cops