A method for material decomposition and quantification with grating based phase CT