Single and double quantum well lasers with a monolithically integrated passive section