Growth of PdCoO2 films with controlled termination by molecular-beam epitaxy and determination of their electronic structure by angle-resolved photoemission spectroscopy