Learning by Doing: An Online Causal Reinforcement Learning Framework with Causal-Aware Policy