XMM-Newton observations of the dwarf elliptical galaxy NGC 3226