Lewis Hamilton is "gutted" by Ferrari's performance at the Emilia-Romagna Grand Prix, while team-mate Charles Leclerc says it "hurts".