Measurement of dwarf galaxies in the rich clusters Abell 665 and 963 at z=0.2