Resonant tunneling through a small quantum dot coupled to superconducting leads