People in Spain 'caught rather off guard' by heat