St. Paul officer apologizes over costume