Market potential and firm-level productivity in Spain