Research based activities in teacher professional development on optics