Versatile band structure and electron—phonon coupling in layered PtSe2 with strong interlayer interaction