Rotational invariance and Goldstone modes in nematic elastomers and gels