Plans to expand shale gas fracking in the UK must learn from leaks and poor monitoring at existing onshore wells, scientists say.