Ferry passengers between Ireland and Britain will need a valid passport from the end of next month.