Helicity and spin conservation in Maxwell theory and Linearized Gravity