Ultrathin crystalline-silicon solar cells with embedded photonic crystals