Broadband Coherent Absorption in Chirped-Planar-Dielectric Cavities for 2D-Material-Based Photovoltaics and Photodetectors