A sixth order averaged vector field method