The broad-band X-ray spectrum of the nucleus of M81