Andreev bound states in hybrid superconductor-semiconductor nanowire devices