Quantum confinement in black phosphorus through strain-engineered rippling