Two-stage continuation algorithms for Bloch waves of Bose-Einstein condensates in optical lattices