Construction of a coordinate Bethe ansatz for the asymmetric simple exclusion process with open boundaries