A scheme for a conditional quantum phase gate using a bimodal cavity and a ladder-type three-level atom