Dan Hardy asks UFC to release him from contract