Photonic cavity synchronization of nanomechanical oscillators.