Creating and probing laser-cooled atomic ensembles inside a hollow-core optical fibre