Observation of B(s)(0)->psi(2S)phi and measurement of the ratio of branching fractions B(B(s)(0)->psi(2S)phi)/B(B(s)(0)-> J/psi phi)