HDECAY: a program for Higgs boson decays in the Standard Model and its supersymmetric extension