Police: Suspect admits to killing ex-girlfriend, her mother and his child