Numerical simulation of two-layered liquid sloshing in tanks under horizontal excitations