Model calculations of the molecular composition of interstellar grain mantles