Symmetries and solutions of equations describing force-free magnetic fields