Optimal Control and Stabilisation of Linear Systems via Stable Output Feedback