Photospheric Emission in Fermi Gamma Ray Bursts