Mechanical design of the solar telescope GREGOR