Screening, diagnosis and hospitalization of breast and cervical cancer in Brazil from 2010 to 2022: a time-series study