Factors associated with optimal patient outcomes after operative repair of isolated hip fractures in the elderly