Synthesis of N-vinylcaprolactam and methacrylic acid based hydrogels and investigation of drug release characteristics