Modal Analysis of semi–enclosed coastal basins: natural modes and their influence in the response to transient long waves