how to be a mechanical engineer