The effect of surface free energy and medium surface tension on bacterial attachment to solid surfaces