Layered Semiconducting Materials for Optoelectronic and Memristive Device Applications