Hybrid modelling of cometary plasma environments - I. Impact of photoionisation, charge exchange, and electron ionisation on bow shock and cometopause at 67P/Churyumov-Gerasimenko