Enhancement on quantum synchronization of directly coupled optomechanical oscillators via periodic modulations