Electronic states of EuCu2Ge2 and EuCu2Si2 studied by soft x-ray photoemission spectroscopy