Superconducting Resonators Based on TiN/Tapering/NbN/Tapering/TiN Heterostructures