Royal Mail profit up on cost savings