Linked and knotted beams of light, conservation of helicity and the flow of null electromagnetic fields