On the Floer homology of cotangent bundles