Simple empirical E1 and M1 strength functions for practical applications