UK shale gas exploration would have a "similar" carbon footprint to other fossil fuels, according to a new study.