Simple waves on shear flows: similarity solutions