CCD Photometry of the Globular Cluster NGC 5986 and Its Post-Asymptotic Giant Branch and RR Lyrae Stars