Phosphorus chemistry: from small molecules, to polymers, to pharmaceutical and industrial applications