Angular analysis and branching fraction measurement of the decay B0→K*0μ+μ-