Anomalous superconductivity and pressure induced phase transitions in black phosphorus