Hospitals implementing changes in law to protect children of ill parents: a cross-sectional study