Routine collection of sexual orientation and gender identity data: a mixed-methods study