St. Johns man charged with 12 felonies after firing at officers