Sizing up red phosphorus for use in future battery technologies