Military in Burkina Faso confirms coup, dissolves government