Prognostic factors affecting anatomic outcome of rotator cuff repair and correlation with functional outcome.