A NYPD police captain allegedly sent penis photos to a female detective and offered her favors in exchange for her panties, according to a lawsuit