Brilliant ton by Bavuma but Proteas’ run chase falls short