Improved designs of Si-based quantum wells and Schottky diodes for IR detection