The equivalence principle determines the coupling constant to the curvature for a scalar field