Mn 3d bands and Y–O hybridization of hexagonal and orthorhombic YMnO3 thin films