Religious exemption for vaccines will be a legal question, Cuomo says