HMM posts first operating profit since 2010