Two people were found dead by firefighters tackling a blaze in Spain's Catalonia region.