Surprising variations in the rotation of the chemically peculiar stars CU Virginis and V901 Orionis