Floer theory and metrics in contact and symplectic topology