Efficient optical pumping and high optical depth in a hollow-core photonic-crystal fibre for a broadband quantum memory