Method for producing an amine