Conformation and dynamics of a diluted chain in the presence of an adsorbing wall: A simulation with the bond fluctuation model