Amplitude analysis and branching fraction measurement of (B)over-bar(s)(0) -> J/psi K+K-