Design strategies for controlling damping in micromechanical and nanomechanical resonators