Critical analysis of factors determining mechanical failures in proximal femoral nailing