O’Malley wins UFC bantamweight title by stopping Sterling in the second round