HPD sergeant demoted over sexy photos