From Sitges' carnival coastline to a cliff-backed cove in Dalí country, the best beaches near Barcelona reachable by train