Optimal H2 control by output feedback