Factors Determining Teachers' Beliefs and Perceptions of ICT in Education