Superconductor-proximity effect in chaotic and integrable billiards