Sainsbury's, the UK's third-largest grocer, has reported higher annual profits after "outperforming" its rivals.