Phase synchronization of two anharmonic nanomechanical oscillators.