An exact and explicit solution for the valuation of American put options