Ocean forecasting in narrow shelf seas: application to the Spanish coasts