InP-based ridge lasers with lateral n-contacts