Least-squares formulations for eigenvalue problems associated with linear elasticity