Two-photon Rabi splitting and optical Stark effect in semiconductor microcavities