Courgette cake with pistachios