Photoproduction of isolated photons, inclusively and with a jet, at HERA