Spin excitations in optimally P-doped BaFe2(As0.7P0.3)2 superconductor