VIM: remapping <F1> to <ESC>

It is annoying when <F1> is accidentally pressed;
remapping it to <ESC> for both normal land insert modes.