Corner free energies and boundary effects for Ising, Potts and fully packed loop models on the square and triangular lattices