Observation of B(s)(0) J/psi f1(1285) decays and measurement of the f1(1285) mixing angle