Central Black Hole Masses in Active Galactic Nuclei Inferred from X-Ray Variability