Royal Mail back in profit for first time in 3 years despite tough competition and big changes