The funeral of convicted war criminal Ratko Mladic has been held in Serbia’s capital with state honours.