Anisotropic inflation with the nonvacuum initial state