Ferrari profit drives past €1bn mark