The behaviour of Drosophila melanogaster larvae during pupation