Axisymmetric galaxy models with central black holes, with an application to M32