Spain reports 327 heat-related deaths