A two-layer non-hydrostatic landslide model for tsunami generation on irregular bathymetry. 1. Theoretical basis