Highly swellable multi-layer tablets to prolong the residence time of the delivery device in the stomach