Green synthesis of fluorescent carbon dots for sensitive detection of Fe2+ and hydrogen peroxide