Enhancing quantum effects via periodic modulations in optomechanical systems