Mixed quantum-classical dynamics: A unified approach to mathematical modelling and numerical simulation