Exploring detainees' understanding of the right to a lawyer and potential barriers to accessing legal advice