Two teenagers were taken to hospital with “life-threatening” injuries after stabbings recorded minutes apart in east London.