Finding strong bridges and strong articulation points in linear time