Vertical Structure and Emission Spectrum of an Accretion Disk around a Massive Black Hole